october challenge leetcode day 16

welcome to shbcf.ru